package com.ml.mall.bean.req.delivery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description description
 * @author yx
 * @date 2021/8/27
 * @version 1.0
*/
@ApiModel(value = "物流信息编辑model")
@Data
public class DeliveryEditReq {
    @ApiModelProperty("主键id")
    @NotNull(message = "主键id不可为空")
    private Long id;

    @ApiModelProperty("采购商家订单号")
    private String supplierOid;

    @ApiModelProperty("物流单号")
    private String deliveryOid;

    @ApiModelProperty("物流公司")
    private String deliveryName;

    @ApiModelProperty("配送类型：自配送0 1 物流公司")
    private String deliveryType;

    @ApiModelProperty("3：shipped；4：competed ; 贴合卖家订单状态")
    private Integer state;
}
